package com.nts.pmchelperdemo3.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.nts.pmchelperdemo3.entity.Scheduling;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface SchedulingMapper extends BaseMapper<Scheduling> {
    List<Scheduling>selectByOrderId(@Param("orderId") Long orderId);
    List<Scheduling>selectByMachineIdAndDate(@Param("machineId") Long machineId,@Param("startDate") String startDate,@Param("endDate") String endDate);
    List<Scheduling>selectByTaskType(@Param("taskType") Integer taskType);
}
